package com.lottery.common.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.lottery.common.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
* <p>
    * 
    * </p>
*
* @author jobob
* @since 2019-10-23
*/
    @Data
    @Accessors(chain = true)
    @ApiModel(value="TbCompetitionRecord对象", description="")
    @TableName("tb_competition_record")
    public class CompetitionRecord   {

    private static final long serialVersionUID = 1L;

            @ApiModelProperty(value = "场次")
    private String eventNum;

            @ApiModelProperty(value = "赛事id")
    private Long eventId;

            @ApiModelProperty(value = "联赛名称")
    private String eventName;

            @ApiModelProperty(value = "主队")
    private String homeTeam;

            @ApiModelProperty(value = "客队")
    private String visitingTeam;

            @ApiModelProperty(value = "开始时间")
    private LocalDateTime startTime;

            @ApiModelProperty(value = "状态")
    private String eventStatus;

            @ApiModelProperty(value = "半场比分")
    private String halfScore;

            @ApiModelProperty(value = "终场比分")
    private String endScore;

            @ApiModelProperty(value = "加时比分")
    private String overtimeScore;

            @ApiModelProperty(value = "点球比分")
    private String penaltyKick;

            @ApiModelProperty(value = "让球数")
    private BigDecimal letNum;

            @ApiModelProperty(value = "胜赔率")
    private BigDecimal winningOdds;

            @ApiModelProperty(value = "平赔率")
    private BigDecimal peerOdds;

            @ApiModelProperty(value = "负赔率")
    private BigDecimal failOdds;

    @ApiModelProperty(value = "让球数")
    private BigDecimal defLetNum;

    @ApiModelProperty(value = "胜赔率")
    private BigDecimal defWinningOdds;

    @ApiModelProperty(value = "平赔率")
    private BigDecimal defPeerOdds;

    @ApiModelProperty(value = "负赔率")
    private BigDecimal defFailOdds;

    private LocalDateTime updateTime;

    private LocalDateTime createTime;

            @ApiModelProperty(value = "0 可用 1 删除")
    private Integer status;

    public CompetitionRecord() {
    }

    public CompetitionRecord(String eventNum, Long eventId, String eventName, String homeTeam, String visitingTeam, LocalDateTime startTime, String eventStatus, String halfScore, String endScore, String overtimeScore, String penaltyKick, BigDecimal letNum, BigDecimal winningOdds, BigDecimal peerOdds, BigDecimal failOdds, LocalDateTime updateTime, LocalDateTime createTime, Integer status) {
        this.eventNum = eventNum;
        this.eventId = eventId;
        this.eventName = eventName;
        this.homeTeam = homeTeam;
        this.visitingTeam = visitingTeam;
        this.startTime = startTime;
        this.eventStatus = eventStatus;
        this.halfScore = halfScore;
        this.endScore = endScore;
        this.overtimeScore = overtimeScore;
        this.penaltyKick = penaltyKick;
        this.letNum = letNum;
        this.winningOdds = winningOdds;
        this.peerOdds = peerOdds;
        this.failOdds = failOdds;
        this.updateTime = updateTime;
        this.createTime = createTime;
        this.status = status;
    }
}
